package com.topscore.marketing.ui.site.management;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sample")
public class ActivityController {

    @GetMapping("/hello/{name}")
    public String hello(@PathVariable String name) {
        return "hello, " + name + "!";
    }
}
